A5Storage::DataContainer ListItems Method
Syntax
.ListItems as L (BYREF ResultString as C [, SearchPrefix as C])
Arguments
- BYREF ResultStringCharacter
A CR-LF delimited string that lists the contents of the container.
- SearchPrefixCharacter
A prefix that filters the results.
Returns
- ResultLogical
Returns .T. if the operation succeeds, otherwise .F. (see .CallResult for additional error information.)
Description
Generates a list of the items in the Container as a CR-LF delimited string.
Example
dim ResultString as C dim Container as A5Storage::DataContainer = null_value() dim Item as A5Storage::DataItem = null_value() CallResult = A5Storage::DataContainer::Open(Container, "Provider='Disk';Container='c:\A5Webroot';") ? CallResult.Success = .T. ? Container.ListItems(ResultString) = .T. showvar(ResultString)